package com.dyc.caradvertisting.ui.aty.yd;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.dyc.caradvertisting.R;
import com.github.paolorotolo.appintro.AppIntro;
import com.njh.tools.common.phone.ToActivityUtil;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 引导
 */
public class YDActivity extends AppIntro {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_yd);
//        ButterKnife.bind(this);
        showSkipButton(false);
        showDoneButton(false);
        setSeparatorColor(0);
        setProgressBarIndeterminateVisibility(false);
        addSlide(SampleSlide.newInstance(R.layout.yd_layout_one));
        addSlide(SampleSlide.newInstance(R.layout.yd_layout_two));
        addSlide(SampleSlide.newInstance(R.layout.yd_layout_second));
        addSlide(SampleSlide.newInstance(R.layout.yd_layout_last));
    }
    public void startMain(View v) {
        ToActivityUtil.getInstance().finish(YDActivity.this);
    }
}
